package com.max.eshop.comporators;

import java.util.Comparator;

import com.max.eshop.core.Order;

public class SortedOrdersByStatus implements Comparator<Order> {

	@Override
	public int compare(Order arg0, Order arg1) {
		return arg0.getStatus().compareTo(arg1.getStatus());
	}
}